package itbour.onetouchshow.bean;

import java.util.List;

/**
 * Created by onetouch on 2017/12/1.
 */

public class SearchListBean {

    /**
     * list : [{"typeDesc":"视频","order":999,"set_id":4,"time":"2017-11-06 04:21:33","id":4616,"name":"李强","useCounts":0,"st_id":1,"h":1080,"w":1920,"author":"TST_二师兄!","opType":2},{"typeDesc":"视频","order":2,"set_id":4,"time":"2017-11-01 03:56:25","id":4609,"name":"视频模版","useCounts":0,"st_id":1,"h":1080,"w":1920,"author":"TST_二师兄!","opType":2},{"typeDesc":"视频","order":2,"set_id":4,"time":"2017-10-27 04:36:48","id":4608,"name":"视频模版","useCounts":0,"st_id":1,"h":1080,"w":1920,"author":"TST_二师兄!","opType":2},{"typeDesc":"视频","order":4,"thumb":"http://itbour-generate.oss-cn-hangzhou.aliyuncs.com/image/U1/2016/10/10/111611198_75YW2KSzgXq4VQgqR0uX/0.jpg","set_id":4,"time":"2017-10-09 12:59:55","id":4607,"name":"测试视频模板1","useCounts":0,"st_id":1,"h":1080,"w":1920,"author":"TST_一键生成君","opType":2}]
     * totalPage : 1
     */

    private int totalPage;
    private List<ListBean> list;

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * typeDesc : 视频
         * order : 999
         * set_id : 4
         * time : 2017-11-06 04:21:33
         * id : 4616
         * name : 李强
         * useCounts : 0
         * st_id : 1
         * h : 1080
         * w : 1920
         * author : TST_二师兄!
         * opType : 2
         * thumb : http://itbour-generate.oss-cn-hangzhou.aliyuncs.com/image/U1/2016/10/10/111611198_75YW2KSzgXq4VQgqR0uX/0.jpg
         */

        private String typeDesc;
        private int order;
        private int set_id;
        private String time;
        private int id;
        private String name;
        private int useCounts;
        private int st_id;
        private int h;
        private int w;
        private String author;
        private int opType;
        private String thumb;
        private int vip;

        public boolean isVipTemplate() {
            /*return vip>0;*/
            return false;
        }

        public String getTypeDesc() {
            return typeDesc;
        }

        public void setTypeDesc(String typeDesc) {
            this.typeDesc = typeDesc;
        }

        public int getOrder() {
            return order;
        }

        public void setOrder(int order) {
            this.order = order;
        }

        public int getSet_id() {
            return set_id;
        }

        public void setSet_id(int set_id) {
            this.set_id = set_id;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getUseCounts() {
            return useCounts;
        }

        public void setUseCounts(int useCounts) {
            this.useCounts = useCounts;
        }

        public int getSt_id() {
            return st_id;
        }

        public void setSt_id(int st_id) {
            this.st_id = st_id;
        }

        public int getH() {
            return h;
        }

        public void setH(int h) {
            this.h = h;
        }

        public int getW() {
            return w;
        }

        public void setW(int w) {
            this.w = w;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public int getOpType() {
            return opType;
        }

        public void setOpType(int opType) {
            this.opType = opType;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }
    }
}
